home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Programming / mpatrol / mpatrol.readme < prev    next >
Text File  |  2000-05-17  |  2KB  |  28 lines

  1. Short:    Memory allocation debug library. V1.2.0.
  2. Author:   graeme@epc.co.uk (Graeme Roy)
  3. Uploader: graeme@epc.co.uk (Graeme Roy)
  4. Type:     dev/debug
  5.  
  6. The mpatrol library is yet another link library that attempts to diagnose
  7. run-time errors that are caused by the wrong use of dynamically allocated
  8. memory.  If you don't know what the malloc() function or operator new[] do
  9. then this library is probably not for you.  You have to have a certain
  10. amount of programming expertise and a knowledge of how to run a command
  11. line compiler and linker before you should attempt to use this.
  12.  
  13. Along with providing a comprehensive and configurable log of all dynamic
  14. memory operations that occurred during the lifetime of a program, the
  15. mpatrol library performs extensive checking to detect any misuse of
  16. dynamically allocated memory.  All of this functionality can be integrated
  17. into existing code through the inclusion of a single header file at
  18. compile-time.  On UNIX and Windows platforms (and AmigaOS when using gcc)
  19. this may not even be necessary as the mpatrol library can be linked with
  20. existing object files at link-time or, on some platforms, even dynamically
  21. linked with existing programs at run-time.
  22.  
  23. All logging and tracing output from the mpatrol library is sent to a
  24. separate log file in order to keep its diagnostics separate from any that
  25. the program being tested might generate.  A wide variety of library settings
  26. can also be changed at run-time via an environment variable, thus removing
  27. the need to recompile or relink in order to change the library's behaviour.
  28.